package com.yc.time;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.yc.time")
// 判断环境参数是否包含指定的值
@ConditionalOnProperty(prefix = "time", value = "enable",
    havingValue = "true")
public class TimeAutoConfig {

}
